package com.ljf.common.web;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 后端首页
 *
 * @author LJF
 * @since 2024-01-23
 */
@RestController
@RequestMapping("/")
@Api(value = "后端首页", tags = "后端首页")
public class HelloController {

    @GetMapping
    @ApiOperation("后端首页")
    public String welcome() {
        return "Hello World!";
    }

}
